package org.judking.CarKeeper.service;

import android.os.Handler;
import android.os.Message;

public class FrontEndCommService {
	private static Handler mHandler;
	private Message message;
	
	public FrontEndCommService(int what, int arg1, int arg2)		{
		message = mHandler.obtainMessage(what, arg1, arg2);
	}
	
	public FrontEndCommService(int what)		{
		message = mHandler.obtainMessage(what);
	}
	
	public void sendToTarget()			{
		message.sendToTarget();
	}

	public static void setmHandler(Handler mHandler) {
		FrontEndCommService.mHandler = mHandler;
	}
}
